.ladder-chatbox{
    box-sizing: border-box;
    border: 1px solid #ddd;
    width: 100%;
    height:100%;
    background-color: #fff;
    position: relative;
    clear: both;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    flex-wrap:nowrap;
}
.ladder-chatbox div,.ladder-chatbox input{
    box-sizing: border-box;
}
.ladder-chatbox li{
   list-style: none;
}
.ladder-chatbox>.links{
    height: 100%;
    background-color: #4266A0;
    float: left;
    width: 150px;
    position: relative;

}
.ladder-chatbox>.links>.recent{
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
.ladder-chatbox>.links>.recent>ul>li{
    padding: 4px;
    background-color: transparent;
    color:white;
    position: relative;
    cursor: pointer;
}
.ladder-chatbox>.links>.recent>ul>li:hover{
    color:#0a001f;
    background-color: #ddd;
}
.ladder-chatbox>.links>.recent>ul>li.current{
    background-color: #eee;
    color: #555;
}
.ladder-chatbox .sign{
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    margin-right: 3px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}
.ladder-chatbox .sign-friend{
    background-color:#68AFFF;
}
.ladder-chatbox .sign-group{
    background-color:#FE9E4C;
}
.ladder-chatbox .sign-system{
    background-color:#9D9D9D;
}
.ladder-chatbox .sign-me{
    background-color:darkkhaki;
}

.ladder-chatbox>.links>.recent>ul>li>.contact{
    display:inline-block ;
    line-height: 24px;
}
.ladder-chatbox>.links>.recent>ul>li>.iconfont{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #555;
}
.ladder-chatbox>.links>.searchcontact{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.ladder-chatbox>.links>.searchcontact>input{
    width: 100%;
    margin: 0;outline: none;
    border: 1px solid #ddd;
    border-bottom: none;
    background: url("images/look.png") no-repeat right center;
    background-color: #ccc;
}
.ladder-chatbox>.links>.searchcontact>input:hover{
    background-color: #fff
}
.ladder-chatbox>.chatdialogs{
    position: relative;
    width: 100%;
    height: 100%;
}
.ladder-chatbox>.chatdialogs>.head{
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: relative;
    cursor: pointer;
}
.ladder-chatbox>.chatdialogs>.head>.contactinfo{
    position: absolute;
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
.ladder-chatbox>.chatdialogs>.head>.contactinfo>.caption{
    font-size: 15px;
    padding: 4px 0 4px 8px;
    color: #666;
}
.ladder-chatbox>.chatdialogs>.head>.contactinfo>.tag{
    padding-left: 10px;
    color: #999;
}
.ladder-chatbox>.chatdialogs>.head>.controlarea{
    position: absolute;
    top:2px;
    right: 4px;
}
.ladder-chatbox>.chatdialogs>.head>.controlarea>.close{
    font-size: 16px;
    font-weight: 600;
    color: #999;
    transition: all 0.5s;
}
.ladder-chatbox>.chatdialogs>.head>.controlarea>.close:hover{
    color: #333;
}
.ladder-chatbox>.chatdialogs>.head>.controlarea>.minimize{
    display: inline-block;
    width: 12px;
    height: 15px;
    margin-right: 5px;
    border-bottom: 2px solid #999;
    transition: all 0.3s;
}
.ladder-chatbox>.chatdialogs>.head>.grouplist{
    position: absolute;
    right: 8px;
    bottom: 0;
    color: darkgoldenrod;
    font-size: 16px;
}

.ladder-chatbox>.chatdialogs>.head>.controlarea>.minimize:hover{
    border-color: #333;
}

.ladder-chatbox>.chatdialogs>.frames{
    background-color: rgba(10,0,31,0.04);position: absolute;width: 100%;top:50px;bottom: 120px;
}
.ladder-chatbox>.chatdialogs>.frames>.frame{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    padding: 6px;
    overflow-y: auto;
    display: none;
}
.ladder-chatbox>.chatdialogs>.frames>.frame.current{
    display: block;
}
.ladder-chatbox>.chatdialogs>.frames>.frame li{
    position: relative;
    margin-top: 6px;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    flex-wrap:nowrap;
}
.ladder-chatbox>.chatdialogs>.frames>.frame>.showmore{
    text-align: center;
    padding: 4px;
    cursor: pointer;
    color: #888;
}
.ladder-chatbox>.chatdialogs>.frames>.frame .message{
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    width: auto;
    max-width: 100%;
    position: relative;
}


/*群组成员*/
.ladder-chatbox>.chatdialogs>.memberlist{
    background-color:rgba(255,255,255,0.29);width: 120px;position: absolute;z-index: 100;right:0;top: 50px;bottom: 120px;
    overflow-x: hidden;
    overflow-y: auto;
    -moz-box-shadow:-6px 6px 11px #888; -webkit-box-shadow:-6px 6px 11px #555; box-shadow:-6px 6px 11px #777;
}

.ladder-chatbox>.chatdialogs>.memberlist::-webkit-scrollbar {
    width:4px;
    height: 14px;
}
.ladder-chatbox>.chatdialogs>.memberlist::-webkit-scrollbar-track {
    box-shadow: 1px 1px 5px #ccc inset;
}
.ladder-chatbox>.chatdialogs>.memberlist::-webkit-scrollbar-thumb {
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px #ccc inset;
}
.ladder-chatbox>.chatdialogs>.memberlist::-webkit-scrollbar-corner {
    background: #ccc;
}

.ladder-chatbox>.chatdialogs>.memberlist>ul>li{
    list-style: none;
    padding: 3px 4px;
    color: #fff;
    /*margin-top: 1px;*/
    background-color: #4266A0;
}
.ladder-chatbox>.chatdialogs>.memberlist>ul>li:hover{
    color: #333;
    background-color: #f0dfaf;
}


.ladder-chatbox>.chatdialogs>.sendarea{
    border-top: 1px solid #ddd;
    height: 120px;width: 100%;position: absolute;bottom: 0
}
.ladder-chatbox>.chatdialogs>.sendarea>textarea{
    box-sizing: border-box;
    border: none;
    width: 100%;
    outline: none;
    margin: 0;
    padding: 2px 0 0 4px;
    resize: none;
    height: 82px;
    border-bottom: 1px solid rgba(221, 221, 221, 0.29);
}
.ladder-chatbox>.chatdialogs>.sendarea>.send{
    float: right;
    margin-right: 5px;
}